package com.example.manage_dzensaas.core.enums;

/**
 * 订单枚举
 */
public interface OrderEnum {
    // 订单类型: 1=商品、2=电影、3=蛋糕、4=和卡订单、5=权益订单、6=话费充值
    int ORDER_PRODUCT = 1;
    int ORDER_MOVIE = 2;
    int ORDER_CAKE = 3;
    int ORDER_STORE = 4;
    int ORDER_QX = 5;
    int ORDER_PHONE = 6;

    // 订单供应商类型：1=万礼自营、2=京东、6=蓝海豚
    int ORDER_SUPPLIER_WL = 1;
    int ORDER_SUPPLIER_JD = 2;
    int ORDER_SUPPLIER_VOP = 5;
    int ORDER_SUPPLIER_JFD = 6;
    int ORDER_SUPPLIER_AGENT = 7;

    // 商品类型：1=实体商品、2=虚拟商品
    int ORDER_PHYS = 1;
    int ORDER_VIRT = 2;

    // 1代表支付订单操作 0代表取消订单操作 2订单未支付
    int MOVIEORDER_PAY = 1;
    int MOVIEORDER_CANCEL = 0;
    int MOVIEORDER_NOPAY = 2;

    //    0，下单成功(付款成功)1订单超时 2出票成功(付款成功)3出票失败(退票成功)4出票中 5未支付 -1已关闭
    int MOVIESTATUS_PAY = 0;
    int MOVIESTATUS_TIMEOUT = 1;
    int MOVIESTATUS_SUCCESS = 2;
    int MOVIESTATUS_FAIL = 3;
    int MOVIESTATUS_OUTTICKET = 4;
    int MOVIESTATUS_NOPAY = 5;
    int MOVIESTATUS_OFF = -1;

    //    0，下单成功1订单超时 2出票成功4出票失败5出票中
    int QMMSTATUS_FAIL = 4;
    int QMMSTATUS_OUTTICKET = 5;

    // 付款状态0否1是2已退款
    int PAY_NO = 0;
    int PAY_YES = 1;
    int PAY_REFUND = 2;

    //    是否发生退款0否1是
    int REFUND_N = 0;
    int REFUND_Y = 1;

    // 是否发放卡密 0=否、1=发放
    int IS_CARD_N = 0;
    int IS_CARD_Y = 1;

    // 物流状态0待发货1已发货
    int WAIT_DELIVERYSTATUS = 0;
    int DELIVERYSTATUS = 1;

    // 是否等待出票0否1是
    int WAIT_OUT_N = 0;
    int WAIT_OUT_Y = 1;

    // 支付类型1余额2现金3余额+现金
    int PAY_BALANCE = 1;
    int PAY_CASH = 2;
    int PAY_BALANCEANDCASH = 3;

    //订单状态 1待付款、2待发货、3已发货、4已完成、5已关闭
    int ORDER_WAITPAY = 1;
    int ORDER_WAITDELIVERY = 2;
    int ORDER_DELIVERYED = 3;
    int ORDER_FINISH = 4;
    int ORDER_CLOSE = 5;

    // ------ 非订单状态 20 京东MQ取消 21京东MQ付款成功
    int ORDER_CANCEL = 20;
    int ORDER_PAYSUCCESS = 21;
    int ORDER_CREATE = 22;


    // 0:待支付、1:充值成功 、2:充值中 、3:充值失败 、4:已退款
    int ORDER_QX_NOPAY = 0;
    int ORDER_QX_SUCCESS = 1;
    int ORDER_QX_IMG = 2;
    int ORDER_QX_FAIL = 3;
    int ORDER_QX_REFUND = 4;

    //蛋糕订单状态 1未接单 2已接单 3拣货中 4配送中 5已完成 6已退款
    int CAKE_RECEIVED_NO = 1;
    int CAKE_RECEIVED_YES = 2;
    int CAKE_PICK = 3;
    int CAKE_DELIVERY = 4;
    int CAKE_OVER = 5;
    int CAKE_REFUND = 6;

    //是否待解决0否1是
    int WAIT_RESOLVE_NO = 0;
    int WAIT_RESOLVE_YES = 1;

    //维权状态0未申请 1已申请
    int PROTECTION_STATUS_NO = 0;
    int PROTECTION_STATUS_YES = 1;

    //售后行为：0已申请1已取消2已拒绝3已同意
    int ASF_APPLY = 0;
    int ASF_CANCEL = 1;
    int ASF_REFUSE = 2;
    int ASF_AGREE = 3;

    //申请状态0未申请 1待处理 2已取消 3已拒绝 4已同意
    int AFTER_SALES_NO = 0;
    int AFTER_SALES_WAIT = 1;
    int AFTER_SALES_CANCEL = 2;
    int AFTER_SALES_BACK = 3;
    int AFTER_SALES_REFUND = 4;

    //是否支持售后0：不可申请 1：可申请
    int AFS_SUPPORT_NO = 0;
    int AFS_SUPPORT_YES = 1;
    //物流状态0待发货1已发货
    int DELIVERY_STATUS_NO = 0;
    int DELIVERY_STATUS_YES = 1;

    // 账户类型 1预付款账户2现金账户
    int ACCOUNT_PRE = 1;
    int ACCOUNT_CASH = 2;

    // 财务类型：1、充值 2、支付预付款 3平台退款 4分销方退款 5结转 6、收取客户订单费 7转换可提现账户 8支付运费 9退还运费 10服务费 11购买短信套餐
    int FINANCE_RECHARGE = 1;
    int FINANCE_PAYPRE = 2;
    int FINANCE_MANGE_REFUND = 3;
    int FINANCE_REFUND = 4;
    int FINANCE_TRAN = 5;
    int FINANCE_ORDERPAY = 6;
    int FINANCE_TRAN_WITHDRAWAL = 7;
    int FINANCE_FREIGHT_PAY = 8;
    int FINANCE_FREIGHT_REFUND = 9;
    int FINANCE_SERVICE_CHARGE = 10;
    int FINANCE_PURCHASE_SMS = 11;

    // 支付类型 1微信2支付宝 3线下充值
    int PAY_TYPE_WX = 1;
    int PAY_TYPE_ZFB = 2;
    int PAY_TYPE_OFFLINE_RECHARGE = 3;

    //提现类型1自动转移 2手动转移
    int TRANSFER_AUTO = 1;
    int TRANSFER_MANUAL = 2;

    //商品售后状态0未申请 1待分销方处理 2已取消 3已拒绝 4已同意 5待平台方处理
    int PRO_SALES_NO = 0;
    int PRO_AGENT_WAIT = 1;
    int PRO_SALES_CANCEL = 2;
    int PRO_SALES_BACK = 3;
    int PRO_SALES_REFUND = 4;
    int PRO_MANAGER_WAIT = 5;

    //配送方式1全国配送,2区域配送
    int delivery_QG = 1;
    int delivery_QY = 2;

    //是否退还积分0否1是
    int RETURN_POINTS_NO = 0;
    int RETURN_POINTS_YES = 1;

    //企业额度调整
    int QUOTA_UPDATE = 1;
    //企业额度消费扣除
    int QUOTA_CONSUME = 2;
    //企业额度消费退款
    int QUOTA_REFUND = 3;
}
